home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000889_D.Korycansky@qmw.ac.uk_Sun Aug 28 16:33:55 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  11KB

  1. Received: from omega.qmw.ac.uk by cs.umb.edu with SMTP id AA21715
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 28 Aug 1994 16:33:55 -0400
  3. Received: from laplace.maths.qmw.ac.uk by omega.qmw.ac.uk with SMTP-DNS (PP) 
  4.           id <05483-0@omega.qmw.ac.uk>; Sat, 27 Aug 1994 12:16:12 +0100
  5. Received: from euclid.maths.qmw.ac.uk by laplace.maths.qmw.ac.uk;
  6.           Sat, 27 Aug 94 12:17:20 BST
  7. From: Donald G Korycansky <D.Korycansky@qmw.ac.uk>
  8. Date: Sat, 27 Aug 94 12:19:32 BST
  9. Message-Id: <20494.9408271119@euclid.maths.qmw.ac.uk>
  10. To: tex-k@cs.umb.edu
  11.  
  12. Hello,
  13.     I have run into a problem trying to install xdvik on a Sun Microsystems
  14. Sparc 20 with SunOS 5.3/Solaris 2.3.  I had exactly the same problem with
  15. the TeX package web2c (but was able to install the compiled binaries instead).
  16. I am using the gnu C compiler gcc.  The copy of xdvik.tar.gz came from the
  17. Imperial College archive src.doc.ic.ac.uk.
  18.  
  19. Briefly, when I do "make" I get what seems to be a compiler error of and
  20. un-/improperlyi defined variable:
  21. ----------------------------------------------------------------------
  22. concatn.c:28: `__builtin_va_alist' undeclared (first use this function)
  23. -----------------------------------------------------------------------
  24. More detail is provided below.
  25.  
  26. As far as I can tell, tar xvf  works okay.  I do "sh configure" and see the
  27. following output (which I assume is normal) :
  28. ----------------------------------------------------------------
  29. checking for tex to derive installation directory prefix
  30.         chose installation directory prefix /usr/local
  31. Running configure in xdvik...
  32. checking for gcc
  33. checking how to run the C preprocessor
  34. checking for install
  35. checking for ranlib
  36. checking for POSIXized ISC
  37. checking for directory library header
  38. checking for dirent.h
  39. checking for closedir return value
  40. checking for Xenix
  41. checking for ANSI C header files
  42. checking for assert.h
  43. checking for float.h
  44. checking for limits.h
  45. checking for memory.h
  46. checking for pwd.h
  47. checking for stdlib.h
  48. checking for string.h
  49. checking for unistd.h
  50. checking for memmove
  51. checking for putenv
  52. checking for lack of working const
  53. checking for X include and library files with xmkmf
  54. checking for -ldnet
  55. checking for -ldnet_stub
  56. checking for -lsocket
  57. checking for vprintf
  58. checking for getwd
  59. checking for SIGIO
  60. creating config.status
  61. creating Makefile
  62. creating c-auto.h
  63. c-auto.h is unchanged
  64. Using xdvik/config.status to configure kpathsea...
  65. creating config.status
  66. creating Makefile
  67. ----------------------------------------------------------------------
  68.  
  69. The Makefile is this:
  70. -----------------------------------------------------------------------
  71. # Generated automatically from Makefile.in by configure.
  72. # Top-level Makefile for kpathsea-using programs.
  73.  
  74. # Package subdirectories, the library, and all subdirectories.
  75. programs = dviljk dvipsk web2c xdvik
  76. kpathsea_dir = kpathsea
  77. all_dirs = $(programs) $(kpathsea_dir)
  78.  
  79. # The following make definitions (down to `end of installation
  80. # directories') are repeated in several Makefiles, because different
  81. # installations like to change them at different levels. If you edit the
  82. # top-level Makefile, the changes should propagate, however.
  83. # The following define installation directories. The default paths are
  84. # defined in kpathsea/paths.h, which is built from kpathsea/paths.h.in.
  85. # See kpathsea/INSTALL for a description of how the various path-related
  86. # files are used and created.
  87.  
  88. # Generic installation directories.
  89. prefix = /usr/local
  90. exec_prefix = ${prefix}
  91. bindir = $(exec_prefix)/bin
  92. scriptdir = $(bindir)
  93. libdir = $(exec_prefix)/lib
  94. datadir = $(prefix)/lib
  95. infodir = $(prefix)/info
  96. includedir = $(prefix)/include
  97. manext = 1
  98. mandir = $(prefix)/man/man$(manext)
  99.  
  100. # TeX & MF-specific directories. Not all of the following are relevant
  101. # for all programs, but it seems cleaner to collect everything in one place.
  102.  
  103. # The default paths are now in kpathsea/paths.h.in. Passing all the
  104. # paths to sub-makes can make the arg list too long on system V.
  105.  
  106. # The root of the tree.
  107. texmf_prefix = $(datadir)/texmf
  108.  
  109. # TeX and MF source files.
  110. texinputdir = $(texmf_prefix)/tex
  111. mfinputdir = $(texmf_prefix)/mf
  112.  
  113. # The top-level font directory.
  114. fontdir = $(texmf_prefix)/fonts
  115.  
  116. # Where memory dumps are installed.
  117. fmtdir = $(texmf_prefix)/ini
  118. basedir = $(fmtdir)
  119.  
  120. # Pool files.
  121. texpooldir = $(texmf_prefix)/ini
  122. mfpooldir = $(texpooldir)
  123.  
  124. # If install_fonts=true, the PostScript/LaserJet TFM and VF files for
  125. # the builtin fonts get installed in subdirectories of this directory,
  126. # named for the typeface families of these directories. If you don't
  127. # have the default directory setup, you will want to set
  128. # install_fonts=false.
  129. install_fonts = true
  130. ps_fontdir = $(fontdir)/adobe
  131. bh_fontdir = $(fontdir)/bh
  132. cg_fontdir = $(fontdir)/cg
  133. mt_fontdir = $(fontdir)/monotype
  134.  
  135. # Where the configuration files get installed.
  136. dvips_prefix = $(texmf_prefix)/dvips
  137. configdir = $(dvips_prefix)
  138.  
  139. # Where the PostScript prologues go.
  140. headerdir = $(configdir)
  141.  
  142. # Where dvips' TeX macro files get installed.
  143. psmacrodir = $(texinputdir)/dvips
  144.  
  145. # If a font can't be found close enough to its stated size, we look for
  146. # each of these sizes in the order given.  This colon-separated list is
  147. # overridden by the envvar TEXSIZES, and by a program-specific variable
  148. # (e.g., XDVISIZES), and perhaps by a config file (e.g., in dvips).
  149. default_texsizes = 300:600
  150.  
  151. # Full filename of the database file.  It is not an error for this file
  152. # not to exist.  See the `Filename database' node in the kpathsea
  153. # documentation for details.
  154. db_dir = $(texmf_prefix)
  155. db_name = ls-R
  156.  
  157. # End of installation directory definitions.
  158.  
  159. SHELL = /bin/sh
  160. srcdir = .
  161. VPATH = .
  162.  
  163. # I pass CFLAGS but not all the other Make compiler-related.
  164. # Unorthogonal, but many people like to change CFLAGS, and few people
  165. # like to change the others. It's impossible to pass them all, because
  166. # system V runs out of arg space.
  167. CFLAGS = -g $(XCFLAGS)
  168.  
  169. # It's too bad we have to pass all these down, but I see no alternative,
  170. # if we are to propagate changes at the top level.
  171. makeargs = $(MFLAGS) CFLAGS='$(CFLAGS)' SHELL='$(SHELL)' \
  172.   prefix=$(prefix) exec_prefix=$(exec_prefix) \
  173.   bindir=$(bindir) scriptdir=$(scriptdir) libdir=$(libdir) \
  174.   datadir=$(datadir) infodir=$(infodir) includedir=$(includedir) \
  175.   manext=$(manext) mandir=$(mandir) \
  176.   texmf_prefix=$(texmf_prefix) \
  177.   texinputdir=$(texinputdir) mfinputdir=$(mfinputdir) \
  178.   fontdir=$(fontdir) \
  179.   fmtdir=$(fmtdir) basedir=$(basedir) \
  180.   texpooldir=$(texpooldir) mfpooldir=$(mfpooldir) \
  181.   install_fonts=$(install_fonts) \
  182.   ps_fontdir=$(ps_fontdir) bh_fontdir=$(bh_fontdir) \
  183.   cg_fontdir=$(cg_fontdir) mt_fontdir=$(mt_fontdir) \
  184.   dvips_prefix=$(dvips_prefix) configdir=$(configdir) \
  185.   headerdir=$(headerdir) psmacrodir=$(psmacrodir) \
  186.   default_texsizes='$(default_texsizes)' \
  187.   $(MAKEARGS)
  188.  
  189.  
  190. default: all
  191.  
  192. # Make the library before the programs.
  193. all: do-kpathsea
  194.     for d in $(programs); do \
  195.       if test -d $$d; then (cd $$d; $(MAKE) $(makeargs) $@); \
  196.       else true; fi; done
  197.  
  198. # Only (un)install in the programs.
  199. install install-exec install-data \
  200. uninstall uninstall-exec uninstall-data:
  201.     for d in $(programs); do \
  202.       if test -d $$d; then (cd $$d; $(MAKE) $(makeargs) $@); \
  203.       else true; fi; done
  204.  
  205. # Do other standard targets everywhere.
  206. mostlyclean clean distclean realclean extraclean configclean \
  207. TAGS info dvi check depend::
  208.     for d in $(all_dirs); do \
  209.       if test -d $$d; then (cd $$d; $(MAKE) $(makeargs) $@); \
  210.       else true; fi; done
  211.  
  212. distclean realclean::
  213.     rm -f Makefile config.status
  214.  
  215. # Unconditionally remake the library, since we don't want to write out
  216. # the dependencies here.
  217. do-kpathsea:
  218.     cd $(kpathsea_dir); $(MAKE) $(makeargs)
  219.  
  220. # Targets that only apply to web2c.
  221. triptrap run-triptrap clean-triptrap \
  222. run-trip clean-trip \
  223. run-trap clean-trap \
  224. c-sources programs \
  225. TeX MF BibTeX \
  226. formats fmts bases \
  227. manpages install-manpages: do-kpathsea
  228.     cd web2c; $(MAKE) $(makeargs) $@
  229.  
  230. configure_in = $(srcdir)/configure.in
  231. $(srcdir)/configure: $(configure_in) $(autoconf)
  232.     cd $(srcdir); autoconf
  233.  
  234. config.status: $(srcdir)/configure
  235.     $(SHELL) $(srcdir)/configure --no-create --verbose
  236.  
  237. Makefile: $(srcdir)/Makefile.in config.status
  238.     $(SHELL) config.status
  239. ---------------------------------------------------------------------------
  240.  
  241.  
  242. Then I type "make" and get the following output:
  243. ----------------------------------------------------------------------------
  244.  
  245. cd kpathsea; make  CFLAGS='-g ' SHELL='/bin/sh'  prefix=/usr/local exec_prefix=/usr/local  bindir=/usr/local/bin scriptdir=/usr/local/bin libdir=/usr/local/lib  datadir=/usr/local/lib infodir=/usr/local/info includedir=/usr/local/include  manext=1 mandir=/usr/local/man/man1  texmf_prefix=/usr/local/lib/texmf  texinputdir=/usr/local/lib/texmf/tex mfinputdir=/usr/local/lib/texmf/mf  fontdir=/usr/local/lib/texmf/fonts  fmtdir=/usr/local/lib/texmf/ini basedir=/usr/local/lib/texmf/ini  texpooldir=/usr/local/lib/texmf/ini mfpooldir=/usr/local/lib/texmf/ini  install_fonts=true  ps_fontdir=/usr/local/lib/texmf/fonts/adobe bh_fontdir=/usr/local/lib/texmf/fonts/bh  cg_fontdir=/usr/local/lib/texmf/fonts/cg mt_fontdir=/usr/local/lib/texmf/fonts/monotype  dvips_prefix=/usr/local/lib/texmf/dvips configdir=/usr/local/lib/texmf/dvips  headerdir=/usr/local/lib/texmf/dvips psmacrodir=/usr/local/lib/texmf/tex/dvips  default_texsizes='300:600'  
  246. gcc  -I. -I/usr/local/xdvik-1.8/kpathsea  -I.. -I/usr/loCAL/xdvik-1.8/kpathsea/..    -DDEFAULT_FONT_SIZES=\"300:600\" \
  247.   -g -c /usr/local/xdvik-1.8/kpathsea/tex-file.c
  248. gcc  -I. -I/usr/local/xdvik-1.8/kpathsea  -I.. -I/usr/local/xdvik-1.8/kpathsea/..    -g -c absolute.c
  249. gcc  -I. -I/usr/local/xdvik-1.8/kpathsea  -I.. -I/usr/local/xdvik-1.8/kpathsea/..    -g -c concat.c
  250. gcc  -I. -I/usr/local/xdvik-1.8/kpathsea  -I.. -I/usr/local/xdvik-1.8/kpathsea/..    -g -c concat3.c
  251. gcc  -I. -I/usr/local/xdvik-1.8/kpathsea  -I.. -I/usr/local/xdvik-1.8/kpathsea/..    -g -c concatn.c
  252. concatn.c: In function `concatn':
  253. concatn.c:28: `__builtin_va_alist' undeclared (first use this function)
  254. concatn.c:28: (Each undeclared identifier is reported only once
  255. concatn.c:28: for each function it appears in.)
  256. *** Error code 1
  257. make: Fatal error: Command failed for target `concatn.o'
  258. Current working directory /usr/local/xdvik-1.8/kpathsea
  259. *** Error code 1
  260. make: Fatal error: Command failed for target `do-kpathsea'
  261. --------------------------------------------------------------------------------
  262.  
  263.  
  264. When this happened w/ web2c I poked around a bit, but was not able to get
  265. around the problem.  (My knowledge of C is limited, anyway.)  I hope this 
  266. I have provided enough details for you--if not, I would be happy to re-attempt
  267. the installation and provide more info.  Thanks for your attention,
  268.  
  269.                             Yrs,
  270.                             Don Korycansky
  271.                             D.Korycansky@qmw.ac.uk